using NodeCanvas;
using NodeCanvas.DialogueTrees;
using UnityEngine;

public class StoryActorBase : MonoBehaviour
{
	public Blackboard blackboard;

	private bool initialized;

	public GameObject actorObject
	{
		get
		{
			return base.gameObject;
		}
	}

	protected virtual void Init()
	{
		if (!initialized)
		{
			base.gameObject.SetActive(false);
			initialized = true;
		}
	}

	private void Awake()
	{
		Init();
	}

	public virtual void Hide()
	{
	}

	public virtual void OnActorSpeaking(DialogueSpeechInfo speech, bool changeActor)
	{
	}

	public virtual void OnClick()
	{
	}
}
